From: Adam Roses Wight Date: Tue, 6 Sep 2016 16:49:35 +0000 (-0700) Subject: Fix spelling X-Git-Tag: 1.31.0-rc.0~5749^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=60c07b5c7f2149ab6f7f3fa5f83aa858adf19d93;p=lhc%2Fweb%2Fwiklou.git Fix spelling However... this comment might be irrelevant. The code is actually joining 8 random 1-byte integers together (all produced by the same algorithm). We're clearly attempting to make a number with 64 bits of entropy, and the comment is quite oblique about that fact. Change-Id: I59ac0c208bdb9d7f427fea4f205ee7293a710ca8 --- diff --git a/resources/src/mediawiki/mediawiki.user.js b/resources/src/mediawiki/mediawiki.user.js index 0fdd9aaef2..7df778f850 100644 --- a/resources/src/mediawiki/mediawiki.user.js +++ b/resources/src/mediawiki/mediawiki.user.js @@ -76,8 +76,8 @@ hexRnds[ i ] = byteToHex[ rnds[ i ] ]; } - // Concatenation of two random integers with entrophy n and m - // returns a string with entrophy n+m if those strings are independent + // Concatenation of two random integers with entropy n and m + // returns a string with entropy n+m if those strings are independent return hexRnds.join( '' ); },